package com.action;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import com.dao.IndustryDao;
import com.po.IndustryNewsInfoPO;
@Controller
public class IndustryAction {
	@Autowired
	private IndustryDao industryDao;
	private List<IndustryNewsInfoPO> listNewsInfo;
	
	/**
	 * 展示行业新闻信息
	 * @return
	 */
	public String show() {
		listNewsInfo = industryDao.findNewsInfo();
		return "show";
	}

	public List<IndustryNewsInfoPO> getListNewsInfo() {
		return listNewsInfo;
	}

	public void setListNewsInfo(List<IndustryNewsInfoPO> listNewsInfo) {
		this.listNewsInfo = listNewsInfo;
	}
}
